package net.lym.enums;

import lombok.Getter;

/**
 * 返回结果 枚举类
 */
@Getter
public enum ResultEnum {

    SUCCESS(200, "成功"),

    FAIL(400, "失败");

    private final int code;

    private final String msg;

    ResultEnum(int code, String msg) {
        this.code = code;
        this.msg = msg;
    }

}
